<script setup>
import { provide, ref } from 'vue';
import Son from './Son.vue';

const money = ref(10000)
const add = () => {
  money.value += 1000
}

provide('money', money)
provide('add', add)
</script>

<template>
  <div>vue3 - {{ money}}</div>
  <Son></Son>
</template>

<style>

</style>
